package xxy.com.yangproject.network;

import java.util.HashMap;


import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import xxy.com.yangproject.model.LoginBean;

public interface GetRequestInterface {
    @GET("2019-06-29-121904.png")
    Call<ResponseBody> getPictureCall();

    @FormUrlEncoded
    @POST("user/vcode/register")
    Call<ResponseBody> login(@FieldMap HashMap<String, String> a);

    @FormUrlEncoded
    @POST("user/vcode/register")
    Observable<LoginBean> test(@Field("test") String test);
}
